.class public Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;
.super Landroid/widget/BaseExpandableListAdapter;
.source "CommunityUserRankingAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    }
.end annotation


# instance fields
.field protected inflater:Landroid/view/LayoutInflater;

.field private mActivity:Landroid/app/Activity;

.field protected mHandler:Landroid/os/Handler;

.field protected mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field protected mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mRankingUserCategoryModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/app/Activity;Ljava/util/ArrayList;)V
    .registers 6
    .param p1, "activity"    # Landroid/app/Activity;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/app/Activity;",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p2, "rankingUserCategoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;>;"
    const v2, 0x7f0201c5

    const/4 v1, 0x1

    .line 44
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 45
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;

    .line 46
    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    .line 47
    invoke-virtual {p1}, Landroid/app/Activity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    .line 49
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 50
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    .line 51
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 52
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 54
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mHandler:Landroid/os/Handler;

    .line 55
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;)Landroid/app/Activity;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;

    .prologue
    .line 35
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;
    .param p1, "x1"    # Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;
    .param p2, "x2"    # Lcom/brixd/niceapp/community/model/RankingUserModel;

    .prologue
    .line 35
    invoke-direct {p0, p1, p2}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->trackRankUserClickEvent(Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V

    return-void
.end method

.method private parseViews(Landroid/view/View;)Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    .registers 4
    .param p1, "convertView"    # Landroid/view/View;

    .prologue
    .line 185
    new-instance v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;-><init>(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;)V

    .line 186
    .local v0, "holder":Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    const v1, 0x7f0a00c5

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    .line 187
    const v1, 0x7f0a00bb

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userIconImage:Landroid/widget/ImageView;

    .line 188
    const v1, 0x7f0a00c6

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->rankingPosTxt:Landroid/widget/TextView;

    .line 189
    const v1, 0x7f0a00ca

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userNameTxt:Landroid/widget/TextView;

    .line 190
    const v1, 0x7f0a00cb

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userCareerTxt:Landroid/widget/TextView;

    .line 191
    const v1, 0x7f0a00cc

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userFlowers:Landroid/widget/TextView;

    .line 192
    const v1, 0x7f0a00c7

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    .line 193
    return-object v0
.end method

.method private trackRankUserClickEvent(Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V
    .registers 9
    .param p1, "rankingUserCategoryModel"    # Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;
    .param p2, "rankUserModel"    # Lcom/brixd/niceapp/community/model/RankingUserModel;

    .prologue
    .line 177
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    .line 178
    .local v2, "user":Lcom/brixd/niceapp/model/UserModel;
    if-nez v2, :cond_1b

    const/4 v3, 0x0

    .line 179
    .local v3, "userId":I
    :goto_7
    iget-object v4, p1, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingName:Ljava/lang/String;

    iget v5, p2, Lcom/brixd/niceapp/community/model/RankingUserModel;->userId:I

    invoke-static {v4, v5, v3}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeUserRankingClickJson(Ljava/lang/String;II)Lorg/json/JSONObject;

    move-result-object v0

    .line 180
    .local v0, "jo":Lorg/json/JSONObject;
    invoke-static {v0}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeZMLog(Lorg/json/JSONObject;)Ljava/lang/String;

    move-result-object v1

    .line 181
    .local v1, "jsonContent":Ljava/lang/String;
    invoke-static {v2}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v4

    invoke-static {v1, v4}, Lcom/brixd/niceapp/service/StatisticsService;->logInfo(Ljava/lang/String;Lcom/brixd/niceapp/model/Token;)V

    .line 182
    return-void

    .line 178
    .end local v0    # "jo":Lorg/json/JSONObject;
    .end local v1    # "jsonContent":Ljava/lang/String;
    .end local v3    # "userId":I
    :cond_1b
    invoke-virtual {v2}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v3

    goto :goto_7
.end method


# virtual methods
.method public getChild(II)Ljava/lang/Object;
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 78
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getChildId(II)J
    .registers 5
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 88
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingUserModel;

    iget v0, v0, Lcom/brixd/niceapp/community/model/RankingUserModel;->userId:I

    int-to-long v0, v0

    return-wide v0
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 14
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I
    .param p3, "isLastChild"    # Z
    .param p4, "convertView"    # Landroid/view/View;
    .param p5, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 115
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    .line 116
    .local v2, "rankingUserCategoryModel":Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;
    iget-object v3, v2, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/community/model/RankingUserModel;

    .line 118
    .local v1, "model":Lcom/brixd/niceapp/community/model/RankingUserModel;
    if-nez p4, :cond_ad

    .line 119
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    const v4, 0x7f03002b

    const/4 v5, 0x0

    invoke-virtual {v3, v4, p5, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p4

    .line 120
    invoke-direct {p0, p4}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->parseViews(Landroid/view/View;)Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;

    move-result-object v0

    .line 121
    .local v0, "holder":Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    invoke-virtual {p4, v0}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    .line 126
    :goto_23
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userNameTxt:Landroid/widget/TextView;

    iget-object v4, v1, Lcom/brixd/niceapp/community/model/RankingUserModel;->name:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 127
    iget v3, v1, Lcom/brixd/niceapp/community/model/RankingUserModel;->identity:I

    const/4 v4, 0x1

    if-ne v3, v4, :cond_b5

    .line 128
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userNameTxt:Landroid/widget/TextView;

    const/4 v4, 0x0

    const/4 v5, 0x0

    iget-object v6, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mActivity:Landroid/app/Activity;

    invoke-virtual {v6}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object v6

    const v7, 0x7f02018a

    invoke-virtual {v6, v7}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v6

    const/4 v7, 0x0

    invoke-virtual {v3, v4, v5, v6, v7}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    .line 133
    :goto_44
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userCareerTxt:Landroid/widget/TextView;

    iget-object v4, v1, Lcom/brixd/niceapp/community/model/RankingUserModel;->career:Ljava/lang/String;

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 134
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->rankingPosTxt:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    add-int/lit8 v5, p2, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 135
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userFlowers:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "+"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    iget v5, v1, Lcom/brixd/niceapp/community/model/RankingUserModel;->flowers:I

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 137
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v4, v1, Lcom/brixd/niceapp/community/model/RankingUserModel;->iconUrl:Ljava/lang/String;

    iget-object v5, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userIconImage:Landroid/widget/ImageView;

    iget-object v6, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v3, v4, v5, v6}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 139
    iget-object v3, v2, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    const/4 v4, 0x1

    if-ne v3, v4, :cond_bf

    if-nez p2, :cond_bf

    .line 140
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    const v4, 0x7f020029

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 141
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 152
    :goto_a4
    new-instance v3, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;

    invoke-direct {v3, p0, v2, v1}, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$1;-><init>(Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;Lcom/brixd/niceapp/community/model/RankingUserModel;)V

    invoke-virtual {p4, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 173
    return-object p4

    .line 123
    .end local v0    # "holder":Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    :cond_ad
    invoke-virtual {p4}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;

    .restart local v0    # "holder":Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;
    goto/16 :goto_23

    .line 130
    :cond_b5
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->userNameTxt:Landroid/widget/TextView;

    const/4 v4, 0x0

    const/4 v5, 0x0

    const/4 v6, 0x0

    const/4 v7, 0x0

    invoke-virtual {v3, v4, v5, v6, v7}, Landroid/widget/TextView;->setCompoundDrawablesWithIntrinsicBounds(Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;Landroid/graphics/drawable/Drawable;)V

    goto :goto_44

    .line 143
    :cond_bf
    add-int/lit8 v3, p2, 0x1

    iget-object v4, v2, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ne v3, v4, :cond_d9

    .line 144
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    const v4, 0x7f020029

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 145
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    const/16 v4, 0x8

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_a4

    .line 147
    :cond_d9
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->convertView:Landroid/view/View;

    const v4, 0x7f020025

    invoke-virtual {v3, v4}, Landroid/view/View;->setBackgroundResource(I)V

    .line 148
    iget-object v3, v0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter$ViewHolder;->dividerImage:Landroid/widget/ImageView;

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_a4
.end method

.method public getChildrenCount(I)I
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 68
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingUserModels:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroup(I)Ljava/lang/Object;
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 73
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getGroupCount()I
    .registers 2

    .prologue
    .line 63
    iget-object v0, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroupId(I)J
    .registers 4
    .param p1, "groupPosition"    # I

    .prologue
    .line 83
    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 11
    .param p1, "groupPosition"    # I
    .param p2, "isExpanded"    # Z
    .param p3, "convertView"    # Landroid/view/View;
    .param p4, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 98
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    invoke-virtual {v3, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;

    .line 99
    .local v0, "model":Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;
    if-nez p3, :cond_14

    .line 100
    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->inflater:Landroid/view/LayoutInflater;

    const v4, 0x7f03002a

    const/4 v5, 0x0

    invoke-virtual {v3, v4, p4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p3

    .line 103
    :cond_14
    const v3, 0x7f0a00c9

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 104
    .local v2, "rankingNameTxt":Landroid/widget/TextView;
    const v3, 0x7f0a00c8

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 106
    .local v1, "rankingIconImg":Landroid/widget/ImageView;
    iget-object v3, v0, Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;->rankingName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 107
    const/4 v3, 0x0

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 110
    return-object p3
.end method

.method public hasStableIds()Z
    .registers 2

    .prologue
    .line 93
    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 198
    const/4 v0, 0x1

    return v0
.end method

.method public setRankingUserCategoryModels(Ljava/util/ArrayList;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .line 58
    .local p1, "rankingUserCategoryModels":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/community/model/RankingUserCategoryModel;>;"
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/CommunityUserRankingAdapter;->mRankingUserCategoryModels:Ljava/util/ArrayList;

    .line 59
    return-void
.end method
